新增“待办|未读”消息

更新时间:2023-10-26 11:41:18

接口说明

新增“待办/未读”消息

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/xmgm/message/create

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenant_code query string

请求示例

    {
        "msg_id":"39fb8f45-4892-dd5d-c9d6-ea1af7e79fc",
        "title":"审批流程通知01",
        "content":"嗨,您的房产已绑定,请查看",
        "redirect_url":"https://www.baidu.com",
        "receiver_id":"39fae950-b1fc-7244-3ab7-474e209bb951",
        "receiver_type":"USER",
        "receiver_mobile":"13600000001"
        "source":"ZHULONG",
        "target":"OA",
        "target_data":{"xx":"xxxx"},
        "is_switch":0,
        "classify":"通知",
        "type":"TEXT",
        "remark":"备注123"
        "custom":{"xx":"xxxx"},
        "template_id":"123",
         "status": 0
    }

返回成功示例

  {
    "errcode": 0,
    "errMsg": "成功",
    "data": []
  }

返回参数说明(成功)

参数名 参数类型 描述
errcode number 错误码
errMsg string 错误提示信息
data array 数据集合

失败返回示例

  {
    "errcode": 9000,
    "errMsg": "租户code不能为空",
    "data": []
  }

返回参数说明(失败)

参数名 参数类型 描述
errcode number 错误码
errMsg string 错误提示信息
data array 数据集合

results matching ""

    No results matching ""